home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Games / NeXTmj / Source / NumberTileArray.h < prev    next >
C/C++ Source or Header  |  1991-03-08  |  558b  |  35 lines

  1.  
  2. /*
  3.  * This object provides an array of Number Tile objects.
  4.  *    Number Tiles are used to display the remianing
  5.  *    number of tiles on the Game Board.
  6.  *
  7.  $Author$
  8.  $Header$
  9.  *
  10.  $Log$
  11.  */
  12.  
  13.  
  14. #import    "mj.h"
  15. #import    "NumberTile.h"
  16.  
  17.  
  18.                                                 // Number of digits from 0-9.
  19. #define    NUMBER_OF_NUMBER_TILES    10
  20.  
  21.  
  22. class NumberTileArray {
  23. private:
  24.     NumberTile*    number_tiles[ NUMBER_OF_NUMBER_TILES ];
  25.  
  26. public:
  27.     NumberTileArray( void );
  28.     ~NumberTileArray( void );    
  29.  
  30.                                                 // Index into the array to an
  31.                                                 //    element.
  32.     NumberTile&    operator[]( int );
  33. };
  34.  
  35.